mw.log.deprecate(window,'JSConfig',{});mw.loader.using(['mediawiki.util','ext.gadget.site-lib'],function(){(function($,mw){if(wgAction=="edit"||wgAction=="submit"||wgCanonicalSpecialPageName=='Search'){importScript('MediaWiki:Common.js/edit.js');}window.wgProjectURL={en:'//en.wikipedia.org',de:'//de.wikipedia.org',fr:'//fr.wikipedia.org',pl:'//pl.wikipedia.org',ja:'//ja.wikipedia.org',it:'//it.wikipedia.org',nl:'//nl.wikipedia.org',pt:'//pt.wikipedia.org',es:'//es.wikipedia.org',sv:'//sv.wikipedia.org',m:'//meta.wikimedia.org',b:'//zh.wikibooks.org',q:'//zh.wikiquote.org',n:'//zh.wikinews.org',wikt:'//zh.wiktionary.org',mw:'//www.mediawiki.org',commons:'//commons.wikimedia.org'};window.getWikiPath=function(page,paras){var reg=/^[a-z]+:/;var pre=page.match(reg);pre=pre&&wgProjectURL[pre[0].replace(/:$/,'').toLowerCase()];if(pre){page=page.replace(reg,'');}else{pre=wgServer;}var url=pre+wgScript+'?title='+encodeURI(page.replace(' ','_'));if(typeof paras=='object'){paras.ctype=paras.ctype
||'text';paras.dontcountme=paras.dontcountme||'s';paras.action=paras.action||'raw';for(var k in paras){url+='&'+k+'='+paras[k];}}return url;};if($.client.profile().name==='msie'){importScript('MediaWiki:Common.js/IEFixes.js');}if(navigator.appVersion.search(/windows nt 5/i)!=-1){mw.util.addCSS('.IPA {font-family: "Lucida Sans Unicode", "Arial Unicode MS";} '+'.Unicode {font-family: "Arial Unicode MS", "Lucida Sans Unicode";}');}function LinkFA(){if(document.getElementById('p-lang')){var InterwikiLinks=document.getElementById('p-lang').getElementsByTagName('li');for(var i=0;i<InterwikiLinks.length;i++){var className=InterwikiLinks[i].className.match(/interwiki-[-\w]+/);if(document.getElementById(className+'-fa')){InterwikiLinks[i].className+=' FA';InterwikiLinks[i].title=wgULS("此条目在此语言版本中为特色条目","此條目在此語言版本中為特色條目");}else if(document.getElementById(className+'-ga')){InterwikiLinks[i].className+=' GA';InterwikiLinks[i].title=wgULS(
"此条目在此语言版本中为优良条目","此條目在此語言版本中為優良條目");}}}}mw.hook('wikipage.content').add(LinkFA);hookEvent("load",function(){if(location.hash){location.href=location.hash;}});function MetaCaixaInit(){var i=0
for(i=0;i<=9;i++){var vMc=document.getElementById("mc"+i);if(!vMc)break;var j=1
var vPsIni=0
for(j=1;j<=9;j++){var vBt=document.getElementById("mc"+i+"bt"+j);if(!vBt)break;vBt.onclick=MetaCaixaMostraPestanya;if(vBt.className=="mcBotoSel")vPsIni=j;}if(vPsIni==0){vPsIni=1+Math.floor((j-1)*Math.random());document.getElementById("mc"+i+"ps"+vPsIni).style.display="block";document.getElementById("mc"+i+"ps"+vPsIni).style.visibility="visible";document.getElementById("mc"+i+"bt"+vPsIni).className="mcBotoSel";}}}function MetaCaixaMostraPestanya(){var vMcNom=this.id.substr(0,3);var vIndex=this.id.substr(5,1);var i=1
for(i=1;i<=9;i++){var vPsElem=document.getElementById(vMcNom+"ps"+i);if(!vPsElem)break;if(vIndex==i){vPsElem.style.display="block";vPsElem.style.visibility="visible";document.getElementById(vMcNom+"bt"+i).className="mcBotoSel";}else{vPsElem.style.display="none";vPsElem.style.visibility="hidden";document.getElementById(vMcNom+"bt"+i).className="mcBoto";}}return false;}addOnloadHook(MetaCaixaInit);$(function(){var catalk=$('#ca-talk');if(catalk.hasClass('new')&&wgNamespaceNumber!=2){var a=$('a:first',catalk);a.attr('href',a.attr('href')+'&section=new');}});var addEditIntro=function(name){$('#ca-edit, .editsection').each(function(){$('a',this).attr('href',$('a',this).attr('href')+'&editintro='+mw.util.wikiUrlencode(name));});};if(wgNamespaceNumber==0){$(function(){var uei=$('#useeditintro, .useeditintro');if(uei.length){addEditIntro(uei.eq(-1).attr('title'));uei.attr('title','');}});}$(function(){$('<div />').css('float','right').append($('.topicon').css({'float':'right','position':
'static'}).show()).insertBefore('#firstHeading span[dir=auto]');});$(function(){$('.anchordecodeme').each(function(){$(this).text(decodeURIComponent($(this).text().replace(/\.([0-9A-F]{2})/g,'%$1')));});});{var extraCSS=mw.util.getParamValue("withCSS");if(extraCSS&&extraCSS.match(/^MediaWiki:[^&<>=%]*\.css$/i)){importStylesheet(extraCSS);}var extraJS=mw.util.getParamValue("withJS");if(extraJS&&extraJS.match(/^MediaWiki:[^&<>=%]*\.js$/i)){importScript(extraJS);}var extraModule=mw.util.getParamValue("withModule");if(extraModule){mw.loader.load(extraModule.split('|'));}}{var hilight=mw.util.getParamValue('hilight');if(wgAction==='history'&&hilight){$.each(hilight.split(','),function(_,v){$('input[name=oldid][value='+v+']').parent().addClass('not-patrolled');});}}if(mw.config.get('wgIsMainPage')&&mw.config.get('wgAction')=='view'){$(function(){mw.util.addPortletLink('p-lang',mw.util.getUrl('Wikipedia:维基百科语言列表'),wgULS('维基百科语言列表','維基百科語言列表'),
'interwiki-completelist',wgULS('维基百科的完整各语言列表','維基百科的完整各語言列表'));});$('a.new').contents().unwrap();}})(jQuery,mediaWiki);});$('#antispam-container').append($('<input type="text" />').attr({id:'wpAntiConv',value:'\u6c49\u6f22'}));if(mw.config.get('wgCanonicalSpecialPageName')==='搜索'||(mw.config.get('wgArticleId')===0&&mw.config.get('wgCanonicalSpecialPageName')===false)){importScriptURI("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");}window.oc15t=true;;mw.loader.state({"site":"ready"});
/* cache key: zhwiki:resourceloader:filter:minify-js:7:e00aba05dd0971541b36dfb0e1f30318 */